<template name="App_admin_home">
  <div class="ui center container">
  	<div class="ui segments">
      <div class="ui centered segment">
        <div class="ui grid">
          <div class="doubling two column row">
            <div class="column">
              <div class="ui items">
        				<div class="item">
        			    <div class="ui tiny image">
        			      <img src="/img/didilogo.jpg">
        			    </div>
        			    <div class="middle aligned content">
        			      <a class="header">欢迎登录到
                      <strong>{{shop_name}}</strong>
                    </a>
        			    </div>
        			  </div>
        			</div>
            </div>
            <div class="column">
              <a style="position:relative;top:35%;" class="ui positive button" href="/admin/shop/show/{{shop_id}}">
                进入本店资料页
              </a>
            </div>
          </div>
        </div>
      </div>
  		<div class="ui centered segment">

        <div class="ui grid">
          <div class="doubling four column row">
            <div class="column">
              {{>static_knob knob_render "63名" employee_subtitle employee_fgColor employee_bgColor "63"}}
            </div>
             <div class="column">
               {{>static_knob knob_render "上升了20%" "本月门店平均指数" "red" "grey" "20"}}
             </div>
             <div class="column">
                {{>static_knob knob_render "下降了100%" "本月员工平均指数" "green" "grey" "100"}}
             </div>
             <div class="column">
               {{>static_knob knob_render "下降了50%" "本周员工平均指数" "green" "grey" "50"}}
             </div>

           </div>
  		  </div>
      </div>
      <div class="ui centered segment">

        <div class="ui grid">
          <div class="doubling three column row">
            <div class="column">
              <h2>胜任力评定</h2>
            </div>
            <div class="column">
              <a href="#" class="ui blue button">开始测评本店员工胜利力</a>
            </div>
             <div class="column">
               <a href="#" class="ui green button">管理本店员工胜任力</a>
             </div>

           </div>
          <div class="doubling four column row">
            <div class="column">
              {{>static_knob knob_render "78" "本月平均胜任力" "" "" "78"}}
            </div>
             <div class="column">
               {{>static_knob knob_render "87" "本周平均胜任力" "green" "grey" "87"}}
             </div>
             <div class="column">
                {{>static_knob knob_render "25人" "今日评定" "green" "grey" "25"}}
             </div>
             <div class="column">
               {{>static_knob knob_render "38人" "今日未评定" "red" "grey" "38"}}
             </div>

           </div>
  		  </div>
      </div>
  		<div class="ui centered segment">
        <h2>本店本月平均胜利力趋势</h2>
  			<canvas id="myChart" width="400" height="400"></canvas>
  		</div>
  		<div class="ui centered segment">
  			第三行

  		</div>
  	</div>
  </div>
</template>
